/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package tracker.pc.com;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Process Connection Thread</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link tracker.pc.com.ProcessConnectionThread#getEXT_CMD <em>EXT CMD</em>}</li>
 *   <li>{@link tracker.pc.com.ProcessConnectionThread#getMConnection <em>MConnection</em>}</li>
 *   <li>{@link tracker.pc.com.ProcessConnectionThread#getKEY_RIGHT <em>KEY RIGHT</em>}</li>
 *   <li>{@link tracker.pc.com.ProcessConnectionThread#getKEY_LEFT <em>KEY LEFT</em>}</li>
 * </ul>
 * </p>
 *
 * @see tracker.pc.com.ComPackage#getProcessConnectionThread()
 * @model
 * @generated
 */
public interface ProcessConnectionThread extends tracker.android.sens.Thread {
	/**
	 * Returns the value of the '<em><b>EXT CMD</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>EXT CMD</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>EXT CMD</em>' attribute.
	 * @see tracker.pc.com.ComPackage#getProcessConnectionThread_EXT_CMD()
	 * @model required="true" changeable="false" ordered="false"
	 * @generated
	 */
	int getEXT_CMD();

	/**
	 * Returns the value of the '<em><b>MConnection</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>MConnection</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>MConnection</em>' reference.
	 * @see #setMConnection(StreamConnection)
	 * @see tracker.pc.com.ComPackage#getProcessConnectionThread_MConnection()
	 * @model required="true" ordered="false"
	 * @generated
	 */
	StreamConnection getMConnection();

	/**
	 * Sets the value of the '{@link tracker.pc.com.ProcessConnectionThread#getMConnection <em>MConnection</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>MConnection</em>' reference.
	 * @see #getMConnection()
	 * @generated
	 */
	void setMConnection(StreamConnection value);

	/**
	 * Returns the value of the '<em><b>KEY RIGHT</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>KEY RIGHT</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>KEY RIGHT</em>' attribute.
	 * @see tracker.pc.com.ComPackage#getProcessConnectionThread_KEY_RIGHT()
	 * @model required="true" changeable="false" ordered="false"
	 * @generated
	 */
	int getKEY_RIGHT();

	/**
	 * Returns the value of the '<em><b>KEY LEFT</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>KEY LEFT</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>KEY LEFT</em>' attribute.
	 * @see tracker.pc.com.ComPackage#getProcessConnectionThread_KEY_LEFT()
	 * @model required="true" changeable="false" ordered="false"
	 * @generated
	 */
	int getKEY_LEFT();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model bufferMany="true" bufferOrdered="false" lengthRequired="true" lengthOrdered="false"
	 * @generated
	 */
	void processCommand(EList<Byte> buffer, int length);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model commandRequired="true" commandOrdered="false"
	 * @generated
	 */
	void processCommand(int command);

} // ProcessConnectionThread
